import { AxiosRequestConfig, AxiosResponse } from "axios";

export interface DLRequestInterceptors {
  requestInterceptor?: (config: AxiosRequestConfig) => AxiosRequestConfig;
  requestInterceptorCatch?: (error: any) => any;
  responseInterceptor?: (res: AxiosResponse) => AxiosResponse;
  responseInterceptorCatch?: (error: any) => any;
}
export interface DLRequestConfig extends AxiosRequestConfig {
  interceptors: DLRequestInterceptors;
  showloading?: boolean;
}
